﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Designer.Event.UI
{
    /// <summary>
    /// 设计区域的鼠标更新事件
    /// </summary>
    public class UIDesignMouseUpdateEvent : UIEvent
    {
        public double? PointInCanvasX { get; private set; }
        public double? PointInCanvasY { get; private set; }

        public double? DesignStartX { get; private set; }
        public double? DesignStartY { get; private set; }


        public double? DesignWidth { get; private set; }
        public double? DesignHeight { get; private set; }

        public UIDesignMouseUpdateEvent(double? pointInCanvasX,
            double? pointInCanvasY,
            double? designStartX,
            double? designStartY,
            double? designWidth,
            double? designHeight)
        {
            this.PointInCanvasX = pointInCanvasX;
            this.PointInCanvasY = pointInCanvasY;
            this.DesignStartX = designStartX;
            this.DesignStartY = designStartY;
            this.DesignWidth = designWidth;
            this.DesignHeight = designHeight;
        }
    }
}
